package com.ubing.boot.notesforjava.scheduled;

public class test extends Thread{
    private test1 test1;

    public test(test1 test1){
        this.test1=test1;
    }

    @Override
    public void run() {
        test1.say();
    }
}
